#include "Domain.h"
#include <memory>

int main()
{
    std::shared_ptr<RectangleDomain> pd(new RectangleDomain(),std::default_delete<RectangleDomain>());
    pd ->LeftBottomPoint() = {0,0};
    pd ->RightBottomPoint() = {1,0};
    pd ->RightTopPoint() = {1,1};
    pd ->LeftTopPoint() = {0,1};
    std::cout << pd ->LeftBottomPoint() << std::endl; 
    std::cout << pd -> RightTopPoint() << std::endl;
    std::cout << (*pd)[1] << std::endl;
    std::cout << (*pd)[3] << std::endl;
    
    return 0;
}
